package com.chenglu.android.common.utils;

import android.content.Context;
import android.content.Intent;

import com.chenglu.android.search.SearchResultActivity;

/**
 * @author: lyj
 * @Created: by Copyright 2023/11/3 Guangzhou Hongma Technology Co., Ltd. All rights reserved.
 * @Description： 跳转对应的界面
 */
public class JumpActivityUtils {

    public static void searchResult(Context context,String name,String shopid,String categoryId,int typeShop){
        Intent intent = new Intent(context, SearchResultActivity.class);
        intent.putExtra(SearchResultActivity.SEARCHNAME,name);
        intent.putExtra(SearchResultActivity.SHOPSTYPEID,shopid);
        intent.putExtra(SearchResultActivity.CATEGORYID,categoryId);
        intent.putExtra(SearchResultActivity.TYPESHOP,typeShop);
        context.startActivity(intent);
    }
}
